package com.xq.shop.dao.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author gaoxiaojin
 * @since 2024-07-30
 */
@TableName("t_order")
@Data
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单号
     */
    private String orderNumber;

    /**
     * 用户uuid
     */
    private String uuid;

    /**
     * 标注
     */
    private String label;

    /**
     * 备注
     */
    private String remake;

    /**
     * 收货地址
     */
    private String address;

    /**
     * 收货人
     */
    private String name;

    /**
     * 收货电话
     */
    private String phoneNumber;

    /**
     * 订单状态
     */
    private Integer mark;

    private BigDecimal rate;

    private BigDecimal orderTotal;

    private BigDecimal chargeTrouble;

    private BigDecimal goodsTotal;

    private BigDecimal domesticFreight;

    private BigDecimal interFreight;

    private BigDecimal otherTotal;

    private Date payTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 修改人
     */
    private Integer updateUser;

    /**
     * 数据状态 1有效 0失效
     */
    private Integer status;

}
